|
|
|
|
<WDPic variable>.Blur (Function) In french: <Variable WDPic>.Flou Blurs the entire given area in a variable of type WDPic (on the background layer). MyWDPic is WDPic = "Test.gif" // Blur image MyWDPic.Blur() Â IMG_MyDrawing = MyWDPic
Syntax <Image variable>: WDPic variable Name of the WDPic variable to be used. Only the background layer will be handled. <Radius>: Optional integer Radius around a point in which nearby points are taken into account for blurring. The larger the radius, the more blurred the image will be and the longer the blur will take. The default value is 10.
Blurring an area of an image Hide the details
<Image variable>.Blur(<Area to blur> [, <Radius>])
<Image variable>: WDPic variable Name of the WDPic variable to be used. Only the background layer will be handled. <Area to blur>: Rectangle or Polygon variable Image area to be blurred. This area can be defined by - a variable of type Rectangle (for simple areas).
- a variable of type Polygon (for complex areas).
Remarks: - There is no need to close the polygon (the coordinates of last point do not have to be equal to the coordinates of first point). The polygon is automatically "closed".
- A polygon can have a maximum of 100,000 points.
Coordinates are specified with respect to the upper-left corner of the image (coordinates: (0.0)). <Radius>: Optional integer Radius around a point in which nearby points are taken into account for blurring. The larger the radius, the more blurred the image will be and the longer the blur will take. The default value is 10.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|